import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBImageStyle/YBImageStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';


class YBMiShuTongDetailSubPage extends StatelessWidget {

  final String requestTagStr;
  final String number;
  final String addressStr;
  final String linkPhone;
  final String createTime;

  const YBMiShuTongDetailSubPage({Key key, this.requestTagStr, this.number, this.addressStr, this.linkPhone, this.createTime}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      color: YBColor.white,
      child: Padding(
        padding: EdgeInsets.only(left:YBTextStyle.adapterSize20,right:YBTextStyle.adapterSize20),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.stretch,
          children: [
            Container(
              child: Text(
                requestTagStr??"",
                style: YBTextStyle.TextStyle1B1C1F18Medium,
              ),
            ),
            Container(
              height: YBTextStyle.adapterSize16,
            ),
            Container(
              child: Row(
                children: [
                  Container(
                    child: Image.asset(YBImageStyle.getImagePath("pin-fill")),
                  ),
                  Container(
                    width: 8,
                  ),
                  Expanded(
                    child: Text(
                      addressStr??"",
                      style: YBTextStyle.TextStyle51545C14,
                    ),
                  ),
                ],
              ),
            ),
            Container(
              height: YBTextStyle.adapterSize16,
            ),
            Container(
              child: Row(
                children: [
                  Container(
                    child: Image.asset(YBImageStyle.getImagePath("BLBBusinessOppoManager_phonr")),
                  ),
                  Container(
                    width: YBTextStyle.adapterSize8,
                  ),
                  Container(
                    child: Text(
                      linkPhone??"",
                      style: YBTextStyle.TextStyle51545C14,
                    ),
                  ),
                ],
              ),
            ),
            Container(
              height: YBTextStyle.adapterSize16,
            ),
            Container(
              child: Row(
                children: [
                  Container(
                    child: Image.asset(YBImageStyle.getImagePath("pin-fill-time")),
                  ),
                  Container(
                    width: YBTextStyle.adapterSize8,
                  ),
                  Container(
                    child: Text(
                      createTime??"",
                      style: YBTextStyle.TextStyle51545C14,
                    ),
                  ),
                ],
              ),
            ),
            Container(
              height: YBTextStyle.adapterSize16,
            ),
          ],
        ),
      ),
    );
  }
}
